/*边距初始化*/
* {
    margin: 0;
    padding: 0;
}

/*超链接样式初始化，取消默认的下画线*/
a {
    text-decoration: none;
}

/*<li>标签样式初始化取消默认<li>标签前面的符号*/
ul li {
    list-style: none;
}

a {
    color: #333333;
}

/*固定宽度居中*/
.container {
    width: 80%;
    margin: 0 auto;
}

/*页头*/
header {
    height: 60px;
    background: linear-gradient(to right, red, orange);
    font-size: 1.2em;
}

.headBar {
    display: flex;
    align-items: center;
}

/*Logo*/
.logo {
    width: 145px;
    height: 46px;
    background: url(../image/logo.png) no-repeat center;
    background-size: cover;
}

/*导航栏*/
nav {
    width: 600px;
}

.navItem {
    display: inline-block;
    line-height: 60px;
    padding: 0 20px;
    color: #ffffff;
}

/*当前选中的导航栏*/
.navItem.active {
    background: #555555;
    font-weight: 700;
}

/*搜索框*/
.search-wrap input {
    border: 0;
    width: 15rem;
    line-height: 1.75rem;
    outline-style: none;
    padding-left: 0.625rem;
    border-radius: 5px;
}

.search-wrap button {
    width: 3.125rem;
    height: 1.75rem;
    border: 0;
    background-color: #555555;
    color: #FFFFFF;
    border-radius: 5px;
}